import http from '@/apis/request/http';
import type { Res } from './type';
export const login = (params: any): Promise<Res> => {
  return http<Res>({
    url: '/login',
    method: 'post',
    data: params
  });
};
